package com.hbzhit.modules.nm.form;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.hbzhit.common.entity.PageQueryEntity;
import com.hbzhit.modules.nm.entity.NoticeEntity;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

/**
 * 消息通知
 * 查询参数
 *
 * @author Tiger.Zhang
 * 2020-01-09 11:15
 */
@Getter
@Setter
@ApiModel("消息通知 查询参数")
public class NoticeQueryForm extends PageQueryEntity {

	/** 人员Id **/
	private Long userId;

	/** 消息类别 NmNoticeCategoryEnum **/
	private Integer category;

	/** 是否已读 **/
	private Integer isRead;

	/**
	 * 构造查询条件
	 */
	public LambdaQueryWrapper<NoticeEntity> queryWrapper() {
		return new LambdaQueryWrapper<NoticeEntity>();
	}
}
